# Distribution macros
PACKAGE_NAME  = lsid-tester
VERSION_MAJOR = 0
VERSION_MINOR = 1
DISTPACKAGE = "$(PACKAGE_NAME)-$(VERSION_MAJOR).$(VERSION_MINOR).tgz"


SOURCES=ARC_rdfxml_parser.php  xmlverbatim.css  \
	get.php   index.php  \
	config.inc.php  rdf2dot.php  xslt.php

IMAGES=  images/collapse.gif   images/expand.gif

NET = Net/DNS.php \
	Net/DNS/Header.php  Net/DNS/Packet.php  Net/DNS/Question.php  Net/DNS/Resolver.php    Net/DNS/RR.php \
	Net/DNS/RR/AAAA.php  Net/DNS/RR/CNAME.php  Net/DNS/RR/HINFO.php  Net/DNS/RR/NAPTR.php  Net/DNS/RR/PTR.php  Net/DNS/RR/SRV.php   Net/DNS/RR/TXT.php \
	Net/DNS/RR/A.php             Net/DNS/RR/MX.php     Net/DNS/RR/NS.php     Net/DNS/RR/SOA.php  Net/DNS/RR/TSIG.php
	
XSL = xsl/rdf2embeddedhtml.xsl  xsl/xmlverbatim.xsl

DOT = dot/dot.cgi  dot/index.html  dot/leda.dot

dist:
	echo "Distribution of $(PACKAGE_NAME)-$(VERSION_MAJOR).$(VERSION_MINOR) " > distdate.txt
	echo "(c) 2006 Roderic D. M. Page (r.page@bio.gla.ac.uk)" >> distdate.txt
	echo "Packaged: " `date` >> distdate.txt
	rm -f $(DISTPACKAGE)
	tar cvzf $(DISTPACKAGE) $(SOURCES) $(IMAGES) $(NET)  $(XSL) Makefile ReadMe.txt \
		distdate.txt
